﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Script.Serialization;
using System.ComponentModel.DataAnnotations;

namespace EasyUIDemo.Model
{
    [Serializable]
    public partial class Institution
    {
        [Key]
        public Guid ID { get; set; }
        public int? OrderNumber { get; set; }
        public string Name { get; set; }
        public string InstitutionCode { get; set; }
        public string QueryCode { get; set; }
        public int RowStatus { get; set; }
        public string Remarks { get; set; }

        [ForeignKey("Industry")]
        public int IndustryId { get; set; }
        public Industry Industry { get; set; }

        [ForeignKey("Category")]
        public int CategoryId { get; set; }
        public Category Category { get; set; }
    }
}
